package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: Online-education-examination-platform-back
 * @BelongsPackage: com.woniuxy.entity
 * @Author: Banol Zi
 * @CreateTime: 2022-06-10  10:28
 * @Description: TODO
 * @Version: 1.0
 */
@TableName(value = "pa", autoResultMap = true)
public class PaperResult {
    private Integer id;
    private String name;
    private String result;
    private Integer uid;
    private Integer classid;
    private Integer score;



    @TableField(value = "topics", typeHandler = FastjsonTypeHandler.class)
    private List<Integer> topics;


    public PaperResult() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public List<Integer> getTopics() {
        return topics;
    }

    public void setTopics(List<Integer> topics) {
        this.topics = topics;
    }


}
